﻿using System.Collections.Generic;

namespace SimpleWorkflow.Patterns
{
    public abstract class Segment
    {
        public Dictionary<string, object> ComplexStepExtensionValues { get; set; }

        protected Segment()
        {
            ComplexStepExtensionValues = new Dictionary<string, object>();
        }

        public void AddComplexStepExtensionValue<T>(string propertyName, T value)
        {
            ComplexStepExtensionValues[propertyName] = value;
        }

    }
}
